﻿
namespace Services
{
    using System;
    using ServiceInterfaces;
    using UnityRepository.Initializers;

    public class DbConnectionInitializerService : IDbConnectionInitializerService
    {
        private readonly IDbConnectionInitializer dbConnectionInitializer;

        public DbConnectionInitializerService(IDbConnectionInitializer dbConnectionInitializer)
        {
            this.dbConnectionInitializer = dbConnectionInitializer;
        }

        public void SetConnectionString(String conn)
        {
            this.dbConnectionInitializer.SetConnectionString(conn);
        }
    }
}
